Ext.define('Admin.view.archive.ReservoirController', {
	        extend : 'Admin.app.archive.CustomController',

	        alias : 'controller.reservoir',

	        beforeInsert : function(record, parent) {
		        record.data.river = parent.data.id
	        },

	        afterDetail : function(record, win) {
		        var me = this, vm = win.getViewModel();
		        var store = me.getStore('reservoirStore');
		        vm.set('seservoirStore', store);
	        }

        });